Get-MemberMethod
SYNOPSIS
Shows the method signature for a .NET type method.
SYNTAX
Get-MemberMethod [-TypeName] <Type> [-MethodName] <String> [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTION
Returns method signatures for the named method on the specified .NET type, including parameter types and names. Overloaded methods are returned as separate signatures.
EXAMPLES
EXAMPLE 1
Get-MemberMethod -TypeName ([string]) -MethodName Substring
Lists the signatures of the String.Substring method overloads.
PARAMETERS
-TypeName
The .NET type to inspect, such as [string].
Type: Type
Parameter Sets: (All)
Aliases: Type
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-MethodName
The case-sensitive name of the method to find.
Type: String
Parameter Sets: (All)
Aliases: Name
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
string
NOTES
Source: https://github.com/jdhitsolutions/PSScriptTools/
RELATED LINKS
EDIT THIS DOC
This page was auto-generated from PowerShell comment-based help. To edit this page, update the corresponding command help in the module source repository.